﻿#pragma warning(disable: 4996)
#pragma warning(disable: 6031)

#include <stdio.h>

int sign(int n)
{
	int ret = 1;
	if (n < 0)
		ret = -1;
	else if (n == 0)
		ret = 0;
	return ret;
}

void solve(int a) {
	printf("sign(%d) = %d\n", a, sign(a));
}

int main()
{
	freopen("D:/Develop/GitRepos/MOOC/浙江大学/数据结构/201906/DataStructure/M2019秋C入门和进阶练习集/7-16.txt", "r", stdin);
	int a;
	scanf("%d", &a);
	solve(a);
	return 0;
}